window.onload = function () {
    var myswiper = new Swiper(".swiper-container", {
        slidesPerView: 12,
        navigation: {
            nextEl: ".swiper-button-next",
            prevEl: ".swiper-button-prev"
        },
        pagination: {
            el: ".swiper-pagination",
            clickable: true
        }
    });
    $(".leftbtn").click(function () {
        myswiper.slidePrev();
    });
    $(".rightbtn").click(function () {
        myswiper.slideNext();
    });
    $('.coinslideitem').mouseleave(function(){
        $(this).children('.coinquotation').hide().siblings('.coinprice').show()
    });
    $('.coinslideitem').mouseenter(function(){
        $(this).children('.coinquotation').show().siblings('.coinprice').hide()
    });
    // $('.coinslideitem').mouseenter(function(){
    //     $(this).children('.coinprice').show().siblings('.coinquotation').hide()
    // });
    // $('.coinslideitem').mouseleave(function(){
    //     $(this).children('.coinprice').hide().siblings('.coinquotation').show()
    // });
};
var app = new Vue({
    el: '.home',

    created() {
        if (localStorage.getItem('ID')) {
            this.istruee = false
            var userbasicinfo = false
        }
        this.watchscroll();
        this.Selected(1);
        this.status0 = false
        this.status1 = false
        this.status2 = false
        axios.post("/selectclicks").then(res => {
            this.hotvisit=res.data.data
        })
        if(sessionStorage.getItem('ID')){
            axios.post('/yesUser/usergetarticle').then(res => {
                this.usergetnavlis=res.data.data
                this.list1.forEach((ele, index) => {
                     this.usergetnavlis[0].data.forEach((ele1,index1)=>{
                                 if (ele.id == ele1.id) {
                                    if (ele1.selStatus) {
                                        ele.selStatus = ele1.selStatus
                                    }
                                }
                    })
                })
            })
        }else{
            return
        }

    },
    mounted() {
        this.getcoinkline()
        // axios.post("/yesUser/huobomarker").then(res => {
        //      this.limit24coinarrr.forEach((ele,num) => {
        //                   for (let key in res.data.data.data) {
        //                         if(ele.symbol==key){
        //                             ele.data=JSON.parse(res.data.data.data[key])
        //                             ele.data.extent=parseFloat(Number((JSON.parse(res.data.data.data[key]).high-JSON.parse(res.data.data.data[key]).open)/JSON.parse(res.data.data.data[key]).open*100).toFixed(4))
        //                         }
        //                 }
        //     })
        // })
    },
    data() {
        return {
            limit24coinarrr:[ //市值前24币种
                {symbol:'BTC',data:null},
                {symbol:'ETH',data:null},
                {symbol:'XRP',data:null},
                {symbol:'BCH',data:null},
                {symbol:'EOS',data:null},
                {symbol:'LTC',data:null},
                {symbol:'XLM',data:null},
                {symbol:'ADA',data:null},
                {symbol:'MIOTA',data:null},
                {symbol:'TRX',data:null},
                {symbol:'NEO',data:null},
                {symbol:'USDT',data:null},
                {symbol:'DASH',data:null},
                {symbol:'XMR',data:null},
                {symbol:'XEM',data:null},
                {symbol:'BNB',data:null},
                {symbol:'VEN',data:null},
                {symbol:'ETC',data:null},
                {symbol:'QTUM',data:null},
                {symbol:'OMG',data:null},
                {symbol:'ICX',data:null},
                {symbol:'BCN',data:null},
                {symbol:'ZEC',data:null},
                {symbol:'ONT',data:null}
            ],
            usergetnavlis:[],
            list:[],
            list1:[],
            list2:[],
            list3:[],
            list4:[],
            element1: false,
            element2: false,
            element3: false,
            element4: false,
            element5: false,
            element6: false,
            element7: false,
            element8: false,
            element9: false,
            element10: false,
            showText: null,
            hideText: true,
            Appendclass: 0,
            TradingMining0: '国家',
            TradingMining1: '类型',
            TradingMining2: '非交易挖矿',
            wiper: 1,
            status0: false,
            status1: false,
            status2: false,
            promotionnum: 0,
            Add: 1,
            open: null,
            openText: false,
            hotvisit: [],
            MinePool: [{
                data1: "AntPool蚁池",
                data2: "蚂蚁矿池，是比特大陆旗下的比特币矿池，是比特币矿机和蚂蚁矿机挖矿的选择，蚂蚁矿池支持",
                data3: "antpool_com_1",
                data4: "//antpool.com/"
            }, {
                data1: "F2Pool鱼池",
                data2: "比特币矿池，莱特币、以太坊矿池",
                data3: "f2pool_com_1",
                data4: "//www.f2pool.com/"
            }, {    
                data1: "国池",
                data2: "保护比特币网络,凭借其运营稳定、数据公开透明且费用低等优势,深受广大矿工的支持与信赖",
                data3: "btcc_com_1",
                data4: "//pool.btcc.com/"
            }, {
                data1: "BW币网",
                data2: "COM）提供比特币全产业链服务及解决方案。拥有全网最专业的比特币矿池；提供多种专业比特币理财服务；比特币挖出后即生息，让您的财富不断增殖。",
                data3: "bw_com_1",
                data4: "//www.bw.com/"
            }, {
                data1: "币信矿池",
                data2: "Bixin矿池是全球知名比特币矿池之一，运营稳定、数据公开透明且费用低，口碑极佳。",
                data3: "pool_bixin_com_1",
                data4: "//pool.bixin.com"
            }, {
                data1: "Viabtc",
                data2: "全球领先的比特币矿池、莱特币、以太坊、零币、达世币矿池，提供安全稳定、公开透明的专业挖矿服务。低手续费及PPS+分配模式，保证用户更高挖矿收益。",
                data3: "pool_viabtc_com_1",
                data4: "//pool.viabtc.com"
            }, {
                data1: "91矿池",
                data2: "一个最专业、最稳定的矿池",
                data3: "91pool_com_1",
                data4: "http://www.91pool.com/"
            }, {
                data1: "SLUSHPOOL",
                data2: "世界上第一个比特币矿池",
                data3: "slushpool_com_1",
                data4: "//slushpool.com/home/"
            }, {
                data1: "Batpool",
                data2: "COM，比特币挖矿、莱特币挖矿最优选择，可使用蚂蚁S4、蚂蚁S5、蚂蚁s7、蚂蚁S9、蚂蚁L3，阿瓦隆A6、A7，翼比特E9矿机，莱特币A4等矿机型号",
                data3: "batpool_com_1",
                data4: "//www.batpool.com/"
            }, {
                data1: "P2pool",
                data2: "",
                data3: "p2pool_info_1",
                data4: "http://p2pool.info/"
            }, {
                data1: "比特大陆",
                data2: "蚂蚁矿机（AntMiner）是由比特大陆（Bitmain）研发并销售的比特币矿机，致力于打造最好的比特币挖矿机",
                data3: "bitmain_com_1",
                data4: "//www.bitmain.com/"
            }, {
                data1: "SFARDS理安科技",
                data2: "",
                data3: "sfards_com_1",
                data4: "http://www.sfards.com/"
            }, {
                data1: "熊猫矿机",
                data2: "PandaMiner的团队包括了芯片设计、图形卡、互联网商务和资本管理领域的资深人士和专业人士。基于地理优势，我们汇集了顶尖的专业人才和生产资源，以支持我们的核心竞争力。",
                data3: "pandaminer_com_1",
                data4: "//www.pandaminer.com/"
            }, {
                data1: "优联矿业",
                data2: "UNMiner-国内首款数字货币挖矿运维系统",
                data3: "unminer_com_1",
                data4: "http://www.unminer.com/"
            }, {
                data1: "Bitfury",
                data2: "",
                data3: "bitfury_com_1",
                data4: "http://bitfury.com/"
            }, {
                data1: "区块矿池统计",
                data2: "比特币区块查询工具，可浏览并查询任意比特币区块、交易、地址的详细信息。",
                data3: "qukuai_com_1",
                data4: "http://qukuai.com/pools"
            }, {
                data1: "算力频道",
                data2: "比特币信息行情第一站，BTC123是专业的比特币(bitcoin)网址导航，全面汇集比特币相关网站，提供最新比特币资讯以及实时价格行情、K线图。",
                data3: "btc123_com_1",
                data4: "//www.btc123.com/mining"
            }, {
                data1: "彩云挖矿汇总",
                data2: "关于比特币挖矿，何必东奔西跑",
                data3: "cybtc_com_1",
                data4: "http://www.cybtc.com/thread-11412-1-1.html"
            }, ],
            agency: [{
                data1: "Fenbushi Capital",
                data2: "",
                data3: "fenbushi_vc_1",
                data4: "http://fenbushi.vc/index_en.html"
            }, {
                data1: "隆领资本",
                data2: "由著名天使投资人蔡文胜先生创办的股权投资机构。",
                data3: "longling_com_1",
                data4: "http://www.longling.com/"
            }, {
                data1: "真格基金",
                data2: "真格基金是由新东方联合创始人徐小平、王强和红杉资本中国在2011年联合创立的天使投资基金，旨在鼓励青年人创业、创新、创富、创造。",
                data3: "zhenfund_com_1",
                data4: "http://www.zhenfund.com/"
            }, {
                data1: "丹华资本",
                data2: "",
                data3: "danhuacap_com_1",
                data4: "http://www.danhuacap.com/"
            }, {
                data1: "大都会资本",
                data2: "",
                data3: "metropolisvc_com_1",
                data4: "http://metropolisvc.com/"
            }, {
                data1: "节点资本",
                data2: "一家专注于区块链产业的风险投资公司。",
                data3: "nodecap_com_1",
                data4: "http://www.nodecap.com/"
            }, {
                data1: "连接资本",
                data2: "专注区块链投资",
                data3: "linkvc_com_1",
                data4: "http://www.linkvc.com/"
            }, {
                data1: "PreAngle",
                data2: "PreAngel天使投资基金官方网站",
                data3: "preangelfund_cn_1",
                data4: "http://www.preangelfund.cn/"
            }, {
                data1: "红杉资本中国基金",
                data2: "创业者背后的创业者",
                data3: "sequoiacap_com_1",
                data4: "//www.sequoiacap.com/china/"
            }, {
                data1: "启赋资本",
                data2: "专注于私募股权投资的专业基金管理公司",
                data3: "qfvc_cn_1",
                data4: "http://www.qfvc.cn/"
            }, {
                data1: "创新工场",
                data2: "创新工场由李开复博士创办，致力于打造集创业平台、资金支持、投后服务等的全方位生态投资服务平台。",
                data3: "chuangxin_com_1",
                data4: "http://www.chuangxin.com/"
            }, {
                data1: "华创资本",
                data2: "专注于新金融、新实业、新消费领域的早期投资。",
                data3: "cgcvc_com_1",
                data4: "http://www.cgcvc.com/"
            }, {
                data1: "IDG资本",
                data2: "",
                data3: "idgcapital_com_1",
                data4: "http://cn.idgcapital.com/"
            }, {
                data1: "洪泰基金Aplus",
                data2: "",
                data3: "apluscap_com_1",
                data4: "http://www.apluscap.com/"
            }, {
                data1: "起源资本",
                data2: "",
                data3: "rootscap_com_1",
                data4: "http://www.rootscap.com/"
            }, {
                data1: "创业工场",
                data2: "致力于投资并帮助--格守诚信、坚忍不拔、具备远见卓识的互联网及无线服务的早期创业型企业",
                data3: "ventureslab_com_1",
                data4: "http://www.ventureslab.com/index-cn.html"
            }],
            transactions: [{
                    data1: "LocalBitcoins",
                    data2: '世界最大的比特币场外交易平台',
                    data3: "localbitcoins_com_1",
                    data4: "//localbitcoins.com/"
                },
                {
                    data1: "OTCBTC",
                    data2: '支持主流币种，让资产不需频繁搬迁',
                    data3: "otcbtc_com_1",
                    data4: "//otcbtc.com/"
                },
                {
                    data1: "Bitcoinworld",
                    data2: '比特币世界快速点对点买卖比特币',
                    data3: "bitcoinworld_com_1",
                    data4: "//bitcoinworld.com/"
                },
                {
                    data1: "火币 C2C",
                    data2: '多币种场外交易 – 火币专业交易站',
                    data3: "huobi_pro_1",
                    data4: "//otc.huobi.pro/"
                },
                {
                    data1: "Okex C2C",
                    data2: 'OK公司提供的BTC及BTH场外交易',
                    data3: "okex_com_1",
                    data4: "//www.okex.com/c2c/trade/trade.do"
                },
                {
                    data1: "Gate C2C",
                    data2: 'Gate.io是一个区块链数字资产交易平台，支持比特币Bitcoin, 以太坊, Ethereum,莱特币, Litecoin，Qtum等币种交易，其特点是快捷，安全。',
                    data3: "gate_io_1",
                    data4: "//gate.io/c2c/usdt_cny"
                },
                {
                    data1: "可盈可乐",
                    data2: '安全可信赖的香港场外交易平台',
                    data3: "coincola_com_1",
                    data4: "//www.coincola.com/"
                },
                {
                    data1: "ZB C2C",
                    data2: 'ZB C2C交易',
                    data3: "zb_com_1",
                    data4: "//vip.zb.com/exchange/"
                },
                {
                    data1: "Linkcoin",
                    data2: '最值得信赖，可自由交换数字资产的保管平台',
                    data3: "linkcoin_pro_1",
                    data4: "//www.linkcoin.pro"
                },
                {
                    data1: "币赢网 C2C",
                    data2: '币赢网（www.coinw.com）是中国国企在香港开设的全球数字资产交易平台，主要面向全球用户提供以太币、HSR等数字资产的交易服务。',
                    data3: "coinw_com_1",
                    data4: "//www.coinw.com/newTrade/coin.html"
                },
                {
                    data1: "Quadrigacx",
                    data2: '加拿大最大的比特币交易平台',
                    data3: "quadrigacx_com_1",
                    data4: "//www.quadrigacx.com/"
                },
                {
                    data1: "itBit",
                    data2: '美国交易所，支持OTC',
                    data3: "itbit_com_1",
                    data4: "//www.itbit.com/"
                }
            ],
            Browser: [{
                data1: "BTC区块浏览器",
                data2: "比特币区块查询",
                data3: "btc_com_1",
                data4: "//btc.com/"
            }, {
                data1: "BLOCKCHAIN",
                data2: "多功能实用BTC区块数据浏览",
                data3: "blockchain_info_1",
                data4: "//blockchain.info/"
            }, {
                data1: "BitBank",
                data2: "同时可查BTC、LTC、ETH、ETC区块",
                data3: "bitbank_com_1",
                data4: "//block.bitbank.com/"
            }, {
                data1: "Etherscan",
                data2: "专业的以太坊浏览器",
                data3: "etherscan_io_1",
                data4: "//etherscan.io/"
            }, {
                data1: "AntCha.in",
                data2: "小蚁区块链浏览器",
                data3: "antcha_in_1",
                data4: "http://antcha.in/"
            }, {
                data1: "Etherchain",
                data2: "以太坊浏览器",
                data3: "ethereum_org_1",
                data4: "//www.etherchain.org/"
            }, {
                data1: "量子链区块",
                data2: "QTUM区块链浏览器",
                data3: "qtum_org_1",
                data4: "//qtumexplorer.io/"
            }, {
                data1: "区块链浏览器",
                data2: "qukuai.com致力于打造一所专业的区块链浏览器平台，支持BTC、BCC、ETH、LTC、ETC交易及地址查询",
                data3: "qukuai_com_1",
                data4: "http://qukuai.com/"
            }, {
                data1: "NEM浏览器",
                data2: "",
                data3: "nem_io_1",
                data4: "http://chain.nem.ninja"
            }],
            game: [ //游戏
                {
                    img2: "HPS",
                    ref2: "http://new.play.top",
                    data5: "Hyperplay",
                    data6: "超级游乐场",
                },
                {
                    img2: "cryptokitties_co_1",
                    ref2: "//www.cryptokitties.co/",
                    data5: "谜恋猫",
                    data6: "养成",
                },
                {
                    img2: "mi_com_1",
                    ref2: "//jiamitu.mi.com/home",
                    data5: "加密兔",
                    data6: "养成",
                },
                {
                    img2: "163_com_1",
                    ref2: "//star.8.163.com/",
                    data5: "网易星球",
                    data6: "养成",
                },
                {
                    img2: "myhero9_com_1",
                    ref2: "http://www.myhero9.com/",
                    data5: "我的英雄",
                    data6: "TCG",
                },
                {
                    img2: "cryptofighters_io_1",
                    ref2: "//cryptofighters.io/",
                    data5: "加密斗士",
                    data6: "养成",
                },
                {
                    img2: "aethia_co_1",
                    ref2: "//aethia.co/",
                    data5: "以太蛋",
                    data6: "养成",
                },
                {
                    img2: "gxb_io_1",
                    ref2: "//blockcity.gxb.io",
                    data5: "布洛克城",
                    data6: "放置",
                }
                // {                    
                //     img2:"baidu_com_1",
                //     ref2:"//pet-chain.baidu.com/",
                //     data5: "百度莱茨狗",
                //     data6: "养成",
                // }
            ],
            data1: [{
                    img: "8btc_com_1",
                    img1: "coindesk_com_1",
                    img2: "baidu_com_1",
                    ref: "http://www.8btc.com/",
                    ref1: "//www.coindesk.com/",
                    ref2: "//pet-chain.baidu.com/",
                    data1: "巴比特",
                    data2: "巴比特始建于2011年，是国内最早的区块链（blockchain）资讯社区门户，为区块链创业者、投资者提供信息、交流与投融资服务。",
                    data3: "Coindesk",
                    data4: "比特币新闻领导者",
                    data5: "百度莱茨狗",
                    data6: "养成",
                },
                {
                    img: "chainb_com_1",
                    img1: "bitcoinmagazine_com_1",
                    img2: "cryptokitties_co_1",
                    ref: "http://chainb.com/",
                    ref1: "//bitcoinmagazine.com/",
                    ref2: "//www.cryptokitties.co/",
                    data1: "铅笔",
                    data2: "区块链•铅笔是一个介绍和讨论去中心化区块链技术的社区，并且探讨数字货币和数字金融对于未来经济的重大影响。",
                    data3: "Bitcoin Magazine",
                    data4: "比特币杂志成立于2011年，是比特币、以太坊、区块链技术、加密货币、暗网和其他分散技术的最古老、最受信赖的新闻、见解、评论、指南和价格分析的来源。",
                    data5: "谜恋猫",
                    data6: "养成",
                },
                {
                    img: "jinse_com_1",
                    img1: "ethnews_com_1",
                    img2: "mi_com_1",
                    ref: "http://www.jinse.com/",
                    ref1: "//www.ethnews.com/",
                    ref2: "//jiamitu.mi.com/home",
                    data1: "金色财经",
                    data2: "金色财经是集行业新闻、资讯、行情、数据等一站式区块链产业服务平台，我们追求及时、全面、专业、准确的资讯与数据，致力于为区块链创业者以及数字货币投资者提供最好的产品和服务。",
                    data3: "Ethereum News",
                    data4: "com是以太坊以及相关区块链平台和代币的新闻、价格、分析和信息的权威机构。",
                    data5: "加密兔",
                    data6: "养成",
                },
                {
                    img: "wanbizu_com_1",
                    img1: "letstalkbitcoin_com_1",
                    img2: "163_com_1",
                    ref: "http://www.wanbizu.com/",
                    ref1: "//letstalkbitcoin.com/",
                    ref2: "//star.8.163.com/",
                    data1: "玩币族",
                    data2: "数字货币行业先行者，重点关注炒币及区块链项目ICO，跟踪区块链项目众筹ICO新闻。",
                    data3: "lets Talk Bitcoin",
                    data4: "LTB网络提供了关于构建新的数字经济和未来货币的想法、人员和项目的标准化信息平台。",
                    data5: "网易星球",
                    data6: "养成",
                },
                {
                    img: "btc798_com_1",
                    img1: "bitcoinweekly_com_1",
                    img2: "myhero9_com_1",
                    ref: "http://www.btc798.com/",
                    ref1: "http://bitcoinweekly.com/",
                    ref2: "http://www.myhero9.com/",
                    data1: "比特币之家",
                    data2: "比特币之家是中国最早也是最大的比特币(Bitcoin)门户网站。比特币之家立足于中国，分析研究比特币产业的时代演变趋势，全面把握比特币的市场脉搏，推动比特币在中国的生态系统建设与商业化和实用化进程。",
                    data3: "Bitcoin Weekly",
                    data4: "每周比特币和加密货币相关新闻文章汇集",
                    data5: "我的英雄",
                    data6: "TCG",
                },
                {
                    img: "btcfans_com_1",
                    img1: "thebitcoinnews_com_1",
                    img2: "cryptofighters_io_1",
                    ref: "http://news.btcfans.com/",
                    ref1: "//thebitcoinnews.com/",
                    ref2: "//cryptofighters.io/",
                    data1: "比特范",
                    data2: "比特币中文资讯,比特币爱好者的精神家园",
                    data3: "The Bitcoin News",
                    data4: "自2012年以来，比特币的主要新闻来源",
                    data5: "加密斗士",
                    data6: "养成",
                },
                {
                    img: "weiyangx_com_1",
                    img1: "cointelegraph_com_1",
                    img2: "aethia_co_1",
                    ref: "http://www.weiyangx.com/",
                    ref1: "//cointelegraph.com/",
                    ref2: "//aethia.co/",
                    data1: "未央网",
                    data2: "互联网金融门户未央网比特币专题",
                    data3: "Cointelegraph Bitcoin",
                    data4: "专注比特币及以太坊相关新闻、分析、技术评论、金融、区块链和市场。",
                    data5: "以太蛋",
                    data6: "养成",
                },
                {
                    img: "bitett_com_1",
                    img1: "newsbtc_com_1",
                    img2: "gxb_io_1",
                    ref: "http://www.bitett.com/",
                    ref1: "//www.newsbtc.com/",
                    ref2: "//blockcity.gxb.io",
                    data1: "比特头条",
                    data2: "比特币标志着区块链时代的到来",
                    data3: "Bitcoin Industry News",
                    data4: "NewsBTC是领先的比特币网络之一，你可以在那里阅读最新的行业新闻。",
                    data5: "布洛克城",
                    data6: "放置",
                },
                {
                    img: "bishijie_com_1",
                    img1: "coincenter_org_1",
                    img2: "baidu_com_1",
                    ref: "http://www.bishijie.com/kuaixun/",
                    ref1: "//coincenter.org/",
                    ref2: "//pet-chain.baidu.com/",
                    data1: "币世界",
                    data2: "币世界是专业的行业动态快讯，快人一步，尽览币圈事。",
                    data3: "Coin Center",
                    data4: "让区块链像比特币一样自由开放。",
                    data5: "百度莱茨狗",
                    data6: "养成",
                },
                {
                    img: "btc123_com_1",
                    img1: "bitcoinist_com_1",
                    img2: "coindesk_com_1",
                    ref: "http://news.btc123.com/",
                    ref1: "http://bitcoinist.com/",
                    ref2: "//www.ccn.com/",
                    data1: "比特币导航",
                    data2: "比特币信息行情第一站，BTC123是专业的比特币(bitcoin)网址导航，全面汇集比特币相关网站，提供最新比特币资讯以及实时价格行情、K线图。",
                    data3: "Bitcoinist",
                    data4: "bitcobitcoin是一家比特币新闻门户网站，提供有关分散化数字货币、区块链技术和金融科技的爆炸性新闻。",
                    data5: "Coindesk",
                    data6: "比特币新闻领导者",
                },
                {
                    img: "weilaicaijing_com_1",
                    img1: "coinbuzz_com_1",
                    img2: "coindesk_com_1",
                    ref: "http://www.weilaicaijing.com/",
                    ref1: "http://www.coinbuzz.com/",
                    ref2: "//www.ccn.com/",
                    data1: "未来财经",
                    data2: "未来财经是集行业新闻、资讯、行情、数据等一站式区块链产业服务平台。未来财经专注于区块链行业的媒体报道，致力于打造中国区块链领域权威媒体。",
                    data3: "CoinBuzz",
                    data4: "不断更新的比特币新闻和信息来源。涵盖技术、市场、企业和其他加密货币。",
                    data5: "Coindesk",
                    data6: "比特币新闻领导者",
                },
                {
                    img: "blockchain_hk_1",
                    img1: "bitcoininvestor_com_1",
                    img2: "coindesk_com_1",
                    ref: "http://news.blockchain.hk/",
                    ref1: "//bitcoininvestor.com/",
                    ref2: "//www.ccn.com/",
                    data1: "区块链财经",
                    data2: "区块链资讯",
                    data3: "Bitcoin Investor",
                    data4: "比特币新闻领导者",
                    data5: "Coindesk",
                    data6: "比特币新闻领导者",
                },
                {
                    img: "5bite_com_1",
                    img1: "bitcoinwarrior_net_1",
                    img2: "coindesk_com_1",
                    ref: "http://www.5bite.com/",
                    ref1: "//bitcoinwarrior.net/",
                    ref2: "//www.ccn.com/",
                    data1: "区块链之家",
                    data2: "定位为区块链产业链中内容分享及点评平台。",
                    data3: "Bitcoin Warrior",
                    data4: "访问更多的文章",
                    data5: "Coindesk",
                    data6: "比特币新闻领导者",
                },
                {
                    img: "bitcoin86_com_1",
                    img1: "99bitcoins_com_1",
                    img2: "coindesk_com_1",
                    ref: "http://www.bitcoin86.com/",
                    ref1: "//99bitcoins.com/",
                    ref2: "//www.ccn.com/",
                    data1: "比特币资讯网",
                    data2: "致力于为区块链创业者提供最好的信息服务",
                    data3: "99Bitcoins",
                    data4: "99Bitcoins提供视频和文本教程，介绍如何用Paypal、信用卡、借记卡等方式购买比特币。我们还会提供你的第一个比特币",
                    data5: "Coindesk",
                    data6: "比特币新闻领导者",
                },
                {
                    img: "bitecoin_com_1",
                    img1: "coinboard_org_1",
                    img2: "coindesk_com_1",
                    ref: "http://www.bitecoin.com/",
                    ref1: "http://coinboard.org/",
                    ref2: "//www.ccn.com/",
                    data1: "比特中文网",
                    data2: "见证和记录区块链时代的到来",
                    data3: "Coinboard",
                    data4: "比特币新闻领导者",
                    data5: "Coindesk",
                    data6: "比特币新闻领导者",
                },
                {
                    img: "biqushi_cn_1",
                    img1: "ccn_com_1",
                    img2: "coindesk_com_1",
                    ref: "http://biqushi.cn/update-report/",
                    ref1: "//www.ccn.com/",
                    ref2: "//www.ccn.com/",
                    data1: "币趋势报告",
                    data2: "根据多重大数据及趋势每日行情报告",
                    data3: "CCN",
                    data4: "在CCN，我们为你提供最新的比特币新闻，包括以太、NEO、Litecoin和ICOs等其他加密货币。",
                    data5: "Coindesk",
                    data6: "比特币新闻领导者",
                },
            ],
            // data: [{
            //         data1: "世界最大的比特币场外交易平台",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "LocalBitcoins",
            //         data6: "localbitcoins_com_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "支持主流币种，让资产不需频繁搬迁",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "OTCBTC",
            //         data6: "otcbtc_com_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "比特币世界快速点对点买卖比特币",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "Bitcoinworld",
            //         data6: "bitcoinworld_com_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "多币种场外交易 – 火币专业交易站",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "火币 C2C",
            //         data6: "huobi_pro_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "OK公司提供的BTC及BTH场外交易",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "Okex C2C",
            //         data6: "okex_com_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "Gate.io是一个区块链数字资产交易平台，支持比特币Bitcoin, 以太坊, Ethereum,莱特币, Litecoin，Qtum等币种交易，其特点是快捷，安全。",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "Gate C2C",
            //         data6: "gate_io_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "安全可信赖的香港场外交易平台",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "可盈可乐",
            //         data6: "coincola_com_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "ZB C2C交易",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "ZB C2C",
            //         data6: "zb_com_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "最值得信赖，可自由交换数字资产的保管平台",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "Linkcoin",
            //         data6: "linkcoin_pro_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "com）是中国国企在香港开设的全球数字资产交易平台，主要面向全球用户提供以太币、HSR等数字资产的交易服务。",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "币赢网 C2C",
            //         data6: "coinw_com_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "加拿大最大的比特币交易平台",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "Quadrigacx",
            //         data6: "quadrigacx_com_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "美国交易所，支持OTC",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "itBit",
            //         data6: "itbit_com_1",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "全球化的交易所全球化的交易所全球化的交",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "火币pro",
            //         data6: "",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "全球化的交易所全球化的交易所全球化的交",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "火币pro",
            //         data6: "",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "全球化的交易所全球化的交易所全球化的交",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "火币pro",
            //         data6: "",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            //     {
            //         data1: "全球化的交易所全球化的交易所全球化的交",
            //         data2: "现货",
            //         data3: "期货",
            //         data4: "法币",
            //         data5: "火币pro",
            //         data6: "",
            //         data7: "必赢国际展",
            //         data8: "APP下载",
            //         data9: "",
            //         data10: "进入",
            //     },
            // ],
            Trading: [{
                    data1: "FCoin致力于创建一个自治的、高效的、透明的数字资产交易平台，让交易员和投资者可以放心地进行任何规模的交易，而无需担忧平台的公正性和透明性、数据安全隐私保护的可靠性、或其订单管理系统的完整性和稳健性。",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "FCoin",
                    data6: "",
                    data7: "FCoin",
                    data8: "APP下载",
                    data9: "FCoin",
                    data10: "进入",
                    data11: "https://www.fcoin.com",
                    data12: "未知",
                },
                {
                    data1: "作为一家全球区块链数字资产托管及交易平台，BigONE将致力于向全球用户提供银行级安全、可靠、易用的区块链资产交易服务。",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "BigOne",
                    data6: "BigOne",
                    data7: "BigOne",
                    data8: "APP下载",
                    data9: "BigOne",
                    data10: "",
                    data11: "https://big.one/",
                    data12: "未知",
                },
                {
                    data1: "Bit-Z，创建于2016年，面向全球提供专业的数字资产交易及OTC（场外交易）服务，是全球著名的数字资产交易平台之一。",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "Bit-Z",
                    data6: "Bit-Z",
                    data7: "Bit-Z",
                    data8: "APP下载",
                    data9: "Bit-Z",
                    data10: "",
                    data11: "https://www.bit-z.com",
                    data12: "美国",
                },
                {
                    data1: "OCX为用户提供一个可让全球所有优质数字资产都可以交易、兑换的平台。在优质资产实现价值回归的同时，投资用户可以享受资产增值的红利，最终形成一个全球化的数字资产交易平台。",
                    data2: "现货",
                    data3: "",
                    data4: "法币",
                    data5: "OCX",
                    data6: "OCX",
                    data7: "OCX",
                    data8: "APP下载",
                    data9: "OCX",
                    data10: "进入",
                    data11: "https://ocx.com/",
                    data12: "未知",
                },
                {
                    data1: "CoinBene满币致力于打造一个全球范围内合法合规，拥有多条法币入金通道的加密货币资产交易平台。.com专注为全球客户提供安全、便捷和合规的区块链资产交易服务。",
                    data2: "现货",
                    data3: "",
                    data4: "法币",
                    data5: "CoinBene满币",
                    data6: "CoinBene",
                    data7: "CoinBene",
                    data8: "APP下载",
                    data9: "CoinBene",
                    data10: "",
                    data11: "https://www.coinbene.com/",
                    data12: "新加坡",
                },
                {
                    data1: "U网（www.uncoinex.com）是全球著名的数字资产交易平台之一。它是加密货币生态系统的一部分，主要提供数字资产交换服务。我们致力为专业用户和所有对虚拟货币感兴趣的人提供一个安全、可靠的交易平台。U网是由UNION COINS LIMITED拥有和经营;U网团队将在全球建立社区，目前在美国，澳洲，香港，新加坡，泰国等国家建立社区和公司，致力于打造世界级的区块链资产交易平台。",
                    data2: "现货",
                    data3: "",
                    data4: "法币",
                    data5: "U-COIN",
                    data6: "U-COIN",
                    data7: "U-COIN",
                    data8: "APP下载",
                    data9: "U-COIN",
                    data10: "进入",
                    data11: "https://www.ucoin.pw",
                    data12: "澳大利亚",
                },
                {
                    data1: "Coineal创立于2018年，由中韩两国资深区块链从业者、数字货币投资人、技术极客打造，团队曾主导和推进多个区块链项目快速开拓中韩两国市场。",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "Coineal",
                    data6: "Coineal",
                    data7: "Coineal",
                    data8: "APP下载",
                    data9: "Coineal",
                    data10: "进入",
                    data11: "https://www.coineal.com/",
                    data12: "韩国",
                },
                {
                    data1: "DragonEx是新加坡虚拟货币交易平台，成立于2017年11月2日。上线同日发行平台币龙币（DT），有独特的挖矿和分红模式。目前支持c2c场外交易、USDT交易、ETH交易。",
                    data2: "现货",
                    data3: "",
                    data4: "法币",
                    data5: "Dragonex Exchange",
                    data6: "Dragonex Exchange",
                    data7: "Bibox交易所",
                    data8: "APP下载",
                    data9: "Dragonex",
                    data10: "进入",
                    data11: "http://dragonex.im",
                    data12: "新加坡",
                },
            ],
            data: [{
                    data1: "OKEX（www.okex.com）是全球著名的数字资产交易平台之一，主要面向全球用户提供比特币、莱特币、以太币等数字资产的现货和衍生品交易服务，隶属于OKEX Technology Company Limited",
                    data2: "现货",
                    data3: "期货",
                    data4: "法币",
                    data5: "OKEX",
                    data6: "OKEX",
                    data7: "OKEX",
                    data8: "APP下载",
                    data9: "OKEX",
                    data10: "进入",
                    data11: "https://www.okb.com/",
                    data12: "美国",
                },
                {
                    data1: "火币全球专业站，是火币集团旗下服务于全球专业交易用户的创新数字资产交易平台，致力于发现优质的创新数字资产投资机会，目前提供四十多种数字资产品类的交易及投资服务，总部位于新加坡，由火币全球专业站团队负责运营。",
                    data2: "现货",
                    data3: "期货",
                    data4: "法币",
                    data5: "火币pro",
                    data6: "火币pro",
                    data7: "火币pro",
                    data8: "APP下载",
                    data9: "火币",
                    data10: "进入",
                    data11: "https://www.huobi.br.com/zh-cn/",
                    data12: "塞舌尔",
                },
                {
                    data1: "gate是比特儿海外版",
                    data2: "现货",
                    data3: "",
                    data4: "法币",
                    data5: "比特儿",
                    data6: "比特儿",
                    data7: "比特儿",
                    data8: "APP下载",
                    data9: "比特儿",
                    data10: "进入",
                    data11: "https://www.gateio.io/",
                    data12: "未知",
                },
                {
                    data1: "币赢网是中国国企在香港开设的全球数字资产交易平台，主要面向全球用户提供以太币、HSR等数字资产的交易服务。",
                    data2: "现货",
                    data3: "",
                    data4: "法币",
                    data5: "币赢",
                    data6: "币赢",
                    data7: "币赢",
                    data8: "APP下载",
                    data9: "币赢",
                    data10: "进入",
                    data11: "https://www.coinw.me/",
                    data12: "未知",
                },
                {
                    data1: "ZB.com是一个全球化的数字货币交易所，目前已获得泰国和迪拜的交易所牌照，并且已在瑞士、加拿大、美国、曼谷、迪拜等地设立运营中心。ZB.com专注为全球客户提供安全、便捷和合规的区块链资产交易服务。",
                    data2: "现货",
                    data3: "",
                    data4: "法币",
                    data5: "ZB",
                    data6: "ZB",
                    data7: "ZB",
                    data8: "APP下载",
                    data9: "ZB",
                    data10: "进入",
                    data11: "https://www.bitkk.com/",
                    data12: "萨摩亚",
                },
                {
                    data1: "Binance 是全球领先的区块链资产交易平台，为全球区块链爱好者提供多币种、多语言的币币兑换服务，目前包含 Binance 区块链资产交易平台、Binance Info，Binance Labs，Binance Launchpad 等业务",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "币安",
                    data6: "币安",
                    data7: "币安",
                    data8: "APP下载",
                    data9: "币安",
                    data10: "进入",
                    data11: "https://www.binance.top",
                    data12: "未知",
                },
                {
                    data1: "LBank成立于2016年10月，是一家面向全球用户的创新型数字资产交易平台。",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "LBANK",
                    data6: "LBANK",
                    data7: "LBANK",
                    data8: "APP下载",
                    data9: "LBANK",
                    data10: "进入",
                    data11: "https://www.lbank.io/",
                    data12: "中国香港",
                },
                {
                    data1: "Bibox顶级优质数字资产交易平台，以金融衍生品服务知名于业内；全球首个人工智能数字资产交易平台，创新性地实现交易安全性、平台稳定性、操作便利性；总部设在爱沙尼亚。",
                    data2: "现货",
                    data3: "",
                    data4: "法币",
                    data5: "bibox",
                    data6: "bibox",
                    data7: "Bibox交易所",
                    data8: "APP下载",
                    data9: "bibox",
                    data10: "进入",
                    data11: "https://www.bibox365.com/",
                    data12: "爱沙尼亚",
                },
                {
                    data1: "总部位于旧金山的Kraken成立于2011年，是欧元交易量最大的比特币交易所，也可用加拿大元、美元、英镑和日元交易。",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "K网 ",
                    data6: "",
                    data7: "K网",
                    data8: "",
                    data9: "K网",
                    data10: "进入",
                    data11: "https://www.kraken.com",
                    data12: "美国",
                },
                {
                    data1: "火币全球专业站推出了全新子品牌火币自主数字资产交易所（Huobi Autonomous Digital Asset eXchange，简称HADAX），服务于专业数字资产投资者及早期的创新型数字资产。",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "HADAX",
                    data6: "",
                    data7: "HADAX",
                    data8: "",
                    data9: "火币",
                    data10: "进入",
                    data11: "http://www.hadax.com/zh-cn/",
                    data12: "塞舌尔",
                },
                {
                    data1: "CEO 定位于亚洲高端型安全交易所，面向全球提供比特币、以太坊、莱特币、以太坊等多种数字资产交易服务，是安全可信赖的数字资产交易网。",
                    data2: "现货",
                    data3: "",
                    data4: "法币",
                    data5: "CEO交易所",
                    data6: "CEO",
                    data7: "CEO",
                    data8: "APP下载",
                    data9: "CEO",
                    data10: "进入",
                    data11: "https://tz089.com/",
                    data12: "中国香港",
                },
                {
                    data1: "EXX是澳大利亚团队打造的面向全球提供比特币、以太坊、莱特币、以太坊经典等多种数字货币交易服务，是安全可信赖的数字货币交易网。",
                    data2: "现货",
                    data3: "期货",
                    data4: "法币",
                    data5: "EXX",
                    data6: "",
                    data7: "EXX",
                    data8: "",
                    data9: "EXX",
                    data10: "进入",
                    data11: "https://www.exxvip.com/",
                    data12: "澳洲 ",
                },
                {
                    data1: "Upbit可视为是韩国B网，是韩国金融科技公司Dunamu与美国交易所Bittrex合作推出的数字货币交易所，目前支持200多个交易对，超过110种代币的交易",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "Upbit",
                    data6: "",
                    data7: "Upbit",
                    data8: "",
                    data9: "Upbit",
                    data10: "进入",
                    data11: "https://www.upbit.com/home",
                    data12: "韩国 ",
                },
                {
                    data1: "YEX数字资产管理交易平台于2018年3月22日上线，总部设立于新加坡，是全球领先的数字资产金融服务商。致力于为全球用户提供稳定、安全、快速方便的数字资产投资交易服务。",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "YEX",
                    data6: "YEX",
                    data7: "YEX",
                    data8: "APP下载",
                    data9: "YEX",
                    data10: "进入",
                    data11: "https://www.yex.com/",
                    data12: "新加坡",
                },
                {
                    data1: "AEX注册于英国，是Bit World Investments Limited 所运营的一家平台，提供区块链技术服务及数字资产交易",
                    data2: "现货",
                    data3: "",
                    data4: "法币",
                    data5: "AEX",
                    data6: "AEX",
                    data7: "AEX",
                    data8: "APP下载",
                    data9: "AEX",
                    data10: "进入",
                    data11: "https://www.aex88.com/",
                    data12: "英国",
                },
                {
                    data1: "CEX是币久网的合作海外平台,该平台部分币种交易数据和深度是bitfinex以及火币pro跨平台交易",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "CEX",
                    data6: "CEX",
                    data7: "CEX",
                    data8: "APP下载",
                    data9: "cex",
                    data10: "进入",
                    data11: "http://cex.plus/",
                    data12: "新加坡",
                },
                {
                    data1: "CoinEgg是知名的专业区块链资产交易平台，以“让金融更高效，让财富更自由”作为集团使命，秉承“用户至上”的服务理念，致力于为全球用户提供安全、专业、诚信、优质的服务。目前支持包括BTC，ETH，NEO、ONT、QTUM等上百种加密货币的交易。总部位于英格兰伯明翰，用户遍布世界各地。请注意：此平台有些币不能提币，搬砖要谨慎了。币蛋新网址：https://www.coinegg.im",
                    data2: "现货",
                    data3: "",
                    data4: "",
                    data5: "币蛋",
                    data6: "币蛋",
                    data7: "币蛋",
                    data8: "APP下载",
                    data9: "币蛋",
                    data10: "进入",
                    data11: "https://www.coinegg.im/?lang=zh_CN",
                    data12: "英国",
                },
                {
                    data1: "BitMEX建立于塞舌尔共和国，是最先进的比特币衍生品交易所,对于比特币类产品提供高达100倍的杠杆，同时也提供针对其它数字货币产品的高杠杆。",
                    data2: "",
                    data3: "期货",
                    data4: "",
                    data5: "BitMEX ",
                    data6: "",
                    data7: "BitMEX",
                    data8: "",
                    data9: "BitMEX",
                    data10: "",
                    data11: "https://www.bitmex.com/",
                    data12: "塞舌尔",
                },
                {
                    data1: "Bitfinex是全世界最大、最高级的比特币交易平台之一，支持以太坊、比特币、莱特币、以太经典等虚拟币的交易，每天的成交量达30多亿人民币。",
                    data2: "现货",
                    data3: "期货",
                    data4: "",
                    data5: "Bitfinex",
                    data6: "",
                    data7: "Bitfinex",
                    data8: "",
                    data9: "Bitfinex",
                    data10: "",
                    data11: "https://www.bitfinex.com",
                    data12: "中国香港",
                },
            ],
            wallet: [ //钱包
                {
                    img: "bitcoin_org_1",
                    ref: "//bitcoin.org/en/",
                    data: "比特币官网钱包",
                    data1: "比特币是一个创新的支付网络，也是一种新型货币。了解你必须知道的内容后你就可以开始与比特币和",
                    data2: "",
                },
                {
                    img: "ethereum_org",
                    ref: "//www.ethereum.org/",
                    data: "以太坊官方钱包",
                    data1: "官方的以太坊钱包，安全可靠。以太坊钱包是在以太坊区块链上分散应用的门户。",
                    data2: "",
                },
                {
                    img: "jaxx_io_1",
                    ref: "//jaxx.io/",
                    data: "JAXX",
                    data1: "支持30余种资产的优秀钱包",
                    data2: "",
                },
                {
                    img: "parity_io_1",
                    ref: "//www.parity.io/",
                    data: "Parity",
                    data1: "开源以太坊轻钱包无需同步区块",
                    data2: "",
                },
                {
                    img: "imtoken_1",
                    ref: "//token.im/",
                    data: "ImToken 钱包",
                    data1: "imToken是一款移动端轻钱包应用程序,它旨在为普通用户提供一款安全放心,简单好用,功能强大的数字资产钱包应用。",
                    data2: "",
                },
                {
                    img: "bixin_com_1",
                    ref: "//bixin.com/",
                    data: "币信",
                    data1: "币信是全球领先的比特币钱包平台，提供便捷、安全、专业的比特币交易服务。",
                    data2: "",
                },
                {
                    img: "bitpie_com_1",
                    ref: "http://bitpie.com/",
                    data: "比特派 Bitpie",
                    data1: "Bitpie 数字钱包是比特币钱包简单和安全。 bitpie,您可以轻松地发送和接收比特币立即支付。 因为bitpie内置托管函数基于Multisig技术,你可以购买和出售比特币的P2P世界各地的经销商在一个安全的环境。",
                    data2: "",
                },
                {
                    img: "hpyerpay_1",
                    ref: "//hyperpay.tech/zh-cn",
                    data: "HyperPay",
                    data1: "HyperPay是一款支持80余种数字货币手机钱包",
                    data2: "",
                },
                {
                    img: "atoken_1",
                    ref: "//www.atoken.com/",
                    data: "AToken 钱包",
                    data1: "AToken移动端数字货币钱包轻便安全，支持19个币种&跨链互换。旨在为广大数字货币用户提供更轻便、更安全、更多币种的多维度服务，旨在打造数字资产存储类APP领跑者。",
                    data2: "",
                },
                {
                    img: "po_im_1",
                    ref: "//po.im/",
                    data: "PO.IM",
                    data1: "币信海外版，支持BTC以及ETH",
                    data2: "",
                },
                {
                    img: "btc_com_1",
                    ref: "//wallet.btc.com/#/setup/register",
                    data: "比特现价钱包",
                    data1: "BTC.COM提供的BTH网页钱包",
                    data2: "",
                },
                {
                    img: "ripplefox_com_1",
                    ref: "http://download.ripplefox.com/",
                    data: "瑞波币官网钱包",
                    data1: "瑞狐网关是一个基于Ripple的网关、做市商，提供人民币CNY的充值和提现的入口。可以交易瑞波币XRP、恒星币STR、XLM、比特币BTC等电子货币。",
                    data2: "",
                },
                {
                    img: "litecoin_org_1",
                    ref: "//litecoin.org/cn/",
                    data: "莱特币官网钱包",
                    data1: "莱特币官方钱包",
                    data2: "",
                },
                {
                    img: "electrum-ltc_org_1",
                    ref: "//electrum-ltc.org/",
                    data: "莱特币轻钱包",
                    data1: "无需同步臃肿的区块即可快速使用",
                    data2: "",
                },
                {
                    img: "neo_org_1",
                    ref: "//neo.org/download",
                    data: "小蚁官方钱包",
                    data1: "NEO是一个非盈利的社区化的区块链项目，是利用区块链技术和数字身份进行资产数字化，利用智能合约对数字资产进行自动化管理，实现“智能经济”的一种分布式网络。",
                    data2: "",
                },
                {
                    img: "qtum_org_1",
                    ref: "//eco.qtum.org/wallet",
                    data: "量子链钱包",
                    data1: "基于量子链的Qtum官方钱包",
                    data2: "",
                }
            ],
            Weibo: [{
                    data1: "李笑来",
                    data2: "币圈大佬",
                    data3: "weibo_com_bylixiaolai",
                    data4: "//www.weibo.com/bylixiaolai"
                },
                {
                    data1: "一尘大话区块链",
                    data2: "让你有逻辑的投资，不再迷茫！",
                    data3: "weibo_yicheng",
                    data4: "//weibo.com/tokenok"
                },
                {
                    data1: "超级比特币",
                    data2: "币信COO、区块链布道者",
                    data3: "weibo_superbtc",
                    data4: "//weibo.com/Superbitcoin"
                },
                {
                    data1: "数字货币趋势狂人",
                    data2: "币圈知名大v",
                    data3: "weibo_com_1305473650",
                    data4: "//www.weibo.com/u/1305473650"
                },
                {
                    data1: "长铗",
                    data2: "巴比特创始人",
                    data3: "weibo_com_changjia",
                    data4: "//weibo.com/changjia"
                },
                {
                    data1: "我是老猫",
                    data2: "币圈大佬",
                    data3: "weibo_com_fngm",
                    data4: "//www.weibo.com/fngm"
                },
                {
                    data1: "Bitangel宝二爷",
                    data2: "币圈大佬",
                    data3: "weibo_com_5941645212",
                    data4: "//weibo.com/u/5941645212"
                },
                {
                    data1: "比特币战车",
                    data2: "币圈知名大v",
                    data3: "weibo_com_btc007",
                    data4: "//www.weibo.com/btc007"
                },
                {
                    data1: "八哥谈币",
                    data2: "币圈知名大v，新韭菜的指路明灯，只要跟八哥做相反操作就有机会。",
                    data3: "weibo_com_bagetanbi",
                    data4: "//weibo.com/bagetanbi"
                },
                {
                    data1: "赵乐天",
                    data2: "币圈知名大佬",
                    data3: "weibo_com_zhaodong1982",
                    data4: "//www.weibo.com/zhaodong1982"
                },
                {
                    data1: "比特币康先森",
                    data2: "币圈知名大v",
                    data3: "weibo_com_6367051967",
                    data4: "//weibo.com/u/6367051967"
                },
                {
                    data1: "比特币37度",
                    data2: "A网创始人",
                    data3: "weibo_com_hqle",
                    data4: "//weibo.com/hqle"
                },
                {
                    data1: "炒币_先锋团",
                    data2: "炒币大v",
                    data3: "weibo_com_5353317892",
                    data4: "//www.weibo.com/u/5353317892"
                },
                {
                    data1: "赛博鱼",
                    data2: "炒币大v,3万本金到3000万",
                    data3: "weibo_com_3262086202",
                    data4: "//weibo.com/u/3262086202"
                },
            ],
            exchangedefault: {
                isshow: false //是否展示切换到自选
            }
        }
    },
    computed: {
        changepromotionn: function () {
            $(".advisory-fbottom .ul-box li").on("click", function (e) {
                /* e.preventDefault();*/
                var getid = "#" + $(this).attr("for");
                $("html,body").animate({
                        scrollTop: $(getid).offset().top - 200
                    },
                    500
                );
                $(".advisory-fbottom .ul-box li").removeClass("active");
                $(this).addClass("active");
                return false;
            });
        },
    },
    methods: {
        getcoinkline(){
            axios.post("/coin/kline").then(res => {
                let coinarr = res.data.data
                coinarr.forEach((ele,num) => {
                    let higharr = [], coindata=ele.data
                    if(Array.isArray(coindata)){
                        coindata.forEach((ele0,num0) => {
                            higharr.push(ele0.high)
                        })
                    }
                    let myChart = echarts.init(document.getElementById('coincvs'+num));
                    let option = {
                        xAxis: {
                            type: 'category',
                            boundaryGap: false,
                            show: false
                        },
                        yAxis: {
                            type: 'value',
                            show: false
                        },
                        series: [{
                            data: higharr,
                            type: 'line',
                            areaStyle: {
                                color:'rgba(59,98,88,0.3)'
                            },
                            color:'rgba(59,98,88,0.1)'
                        }]
                    };
                    myChart.setOption(option);
                })
            })
        },
        myADD(code,id,selid){
            if(sessionStorage.getItem('ID')&&selid!=1){
                let parm = {
                    navigationCode: code,
                    articleId: id
                }
                axios.post('/yesUser/yesSelectionadd', parm).then(res => {
                    window.location.reload()
                })
            }else{
                return
            }
          
        },
        myadd(){
            this.list4=[]
            if(sessionStorage.getItem('ID')){
                this.list4=[]
                axios.post('/yesUser/usergetarticle').then(res => {
                    this.list3=res.data.data
                    this.list3.forEach((ele, index) => {
                        ele.data.forEach((ele2, index2) => {
                            this.list4.push(ele2)
                        });
                    })
                })
            }else{
                return
            }
        },
        deleteexchange(code,id){
            let parm = {
                delStatus:0,
                navigationCode: code,
                articleId: id
            }
            axios.post('/yesUser/delyesSelectionadd', parm).then(res => {
                window.location.reload()
            })
        },
        getclicks(acode,aid){
            let params = {
                articleCode: parseInt(acode),
                articleId: parseInt(aid)
            }
            axios.post("/clicks",params).then(res => {
            })
        },
        shutDown() {
            this.status = false
        },
        swiperr(index) { //点击显示下拉菜单
            if(index==0){
                if (this.status0 == true) {
                    this.status0 = false
                } else {
                    this.status0 = true
                }
            }else if(index==1){
                if (this.status1 == true) {
                    this.status1 = false
                } else {
                    this.status1 = true
                }
            }else if(index==2){
                if (this.status2 == true) {
                    this.status2 = false
                } else {
                    this.status2 = true
                }
            }
        },
        TypeSwitching(num){//类型筛选
            this.list1=[]
            this.wiper = 1
            this.TradingMining2 = "非交易挖矿"
            if (num == 0) {
                this.TradingMining1 = "法币"
                // this.wiper = 2
                let params={
                    p:1,
                    s:10,
                };
                axios.post('/yesUser/ExchangeData',params).then(res => {
                    if(res.data.code === 200){
                        var list=res.data.data.exchanges      
                        for(var i = 0; i < list.length; i++) {
                            if(list[i].title[0]== "法币"){
                                this.list1.push(list[i])
                                
                            }
                        }
                        this.list1.forEach((ele, index) => {
                            this.usergetnavlis[0].data.forEach((ele1,index1)=>{
                                        if (ele.id == ele1.id) {
                                           if (ele1.selStatus) {
                                               ele.selStatus = ele1.selStatus
                                           }
                                       }
                           })
                       })
                    }
                })

            } else if(num == 1){
                let params={
                    p:1,
                    s:10,
                };
                this.TradingMining1 = "现货"
                // this.wiper = 2
                axios.post('/yesUser/ExchangeData',params).then(res => {
                    if(res.data.code === 200){
                        var list=res.data.data.exchanges            
                        for(var i = 0; i < list.length; i++) {
                            if(list[i].title[1]== "现货"){
                                this.list1.push(list[i])
                            }
                        }
                        this.list1.forEach((ele, index) => {
                            this.usergetnavlis[0].data.forEach((ele1,index1)=>{
                                        if (ele.id == ele1.id) {
                                           if (ele1.selStatus) {
                                               ele.selStatus = ele1.selStatus
                                           }
                                       }
                           })
                       })
                    }
                })
            } else if(num == 2){
                let params={
                    p:1,
                    s:10,
                };
                this.TradingMining1 = "期货"
                // this.wiper = 2
                axios.post('/yesUser/ExchangeData',params).then(res => {
                    if(res.data.code === 200){
                        var list=res.data.data.exchanges            
                        for(var i = 0; i < list.length; i++) {
                            if(list[i].title[2]== "期货"){
                                this.list1.push(list[i])
                            }
                        }
                        this.list1.forEach((ele, index) => {
                            this.usergetnavlis[0].data.forEach((ele1,index1)=>{
                                        if (ele.id == ele1.id) {
                                           if (ele1.selStatus) {
                                               ele.selStatus = ele1.selStatus
                                           }
                                       }
                           })
                       })
                    }
                })
            }
            this.swiperr(1)
        },
        Selected(num) { //下拉切换筛选
            this.TradingMining1 = "类型"
            this.list1=[]
            this.list2=[]
            if (num == 0) {
                
                this.TradingMining2 = "交易挖矿"
                this.wiper = num
                let params={
                    p:1,
                    s:10,
                };
                axios.post('/yesUser/ExchangeData',params).then(res => {
                    if(res.data.code === 200){
                        var list=res.data.data.exchanges        
                        for(var i = 0; i < list.length; i++) {
                            if(list[i].waStatus==1){
                                this.list2.push(list[i])
                                
                            }
                        }
                        this.list2.forEach((ele, index) => {
                            this.usergetnavlis[0].data.forEach((ele1,index1)=>{
                                        if (ele.id == ele1.id) {
                                           if (ele1.selStatus) {
                                               ele.selStatus = ele1.selStatus
                                           }
                                       }
                           })
                       })
                    }
                })

            } else {
                let params={
                    p:1,
                    s:10,
                };
                this.TradingMining2 = "非交易挖矿"
                this.wiper = num
                axios.post('/yesUser/ExchangeData',params).then(res => {
                    if(res.data.code === 200){
                        var list=res.data.data.exchanges            
                        for(var i = 0; i < list.length; i++) {
                            if(list[i].waStatus==0){
                                this.list1.push(list[i])
                            }
                        }
                        this.list1.forEach((ele, index) => {
                            this.usergetnavlis[0].data.forEach((ele1,index1)=>{
                                        if (ele.id == ele1.id) {
                                           if (ele1.selStatus) {
                                               ele.selStatus = ele1.selStatus
                                           }
                                       }
                           })
                       })
                    }
                    
                })
            }
            this.swiperr(2)
        },
        Collapse(index) {
            if (index == 1) {
                $(".ul-div").children(".disp1").css("display", "none");
                this.element1 = false
            } else if (index == 2) {
                $(".ul-div").children(".disp2").css("display", "none");
                this.element2 = false
            } else if (index == 3) {
                $(".ul-div").children(".disp3").css("display", "none");
                this.element3 = false
            } else if (index == 4) {
                $(".ul-div").children(".disp4").css("display", "none");
                this.element4 = false
            } else if (index == 5) {
                $(".ul-div").children(".disp5").css("display", "none");
                this.element5 = false
            } else if (index == 6) {
                $(".ul-div").children(".disp6").css("display", "none");
                this.element6 = false
            } else if (index == 7) {
                $(".ul-div").children(".disp7").css("display", "none");
                this.element7 = false
            } else if (index == 8) {
                $(".ul-div").children(".disp8").css("display", "none");
                this.element8 = false
            } else if (index == 9) {
                $(".ul-div").children(".disp9").css("display", "none");
                this.element9 = false
            }
        },
        displayy(index) {
            if (index == 1) {
                $(".ul-div").children(".disp1").css("display", "block");
                this.element1 = true
            } else if (index == 2) {
                $(".ul-div").children(".disp2").css("display", "block");
                this.element2 = true
            } else if (index == 3) {
                $(".ul-div").children(".disp3").css("display", "block");
                this.element3 = true
            } else if (index == 4) {
                $(".ul-div").children(".disp4").css("display", "block");
                this.element4 = true
            } else if (index == 5) {
                $(".ul-div").children(".disp5").css("display", "block");
                this.element5 = true
            } else if (index == 6) {
                $(".ul-div").children(".disp6").css("display", "block");
                this.element6 = true
            } else if (index == 7) {
                $(".ul-div").children(".disp7").css("display", "block");
                this.element7 = true
            } else if (index == 8) {
                $(".ul-div").children(".disp8").css("display", "block");
                this.element8 = true
            } else if (index == 9) {
                $(".ul-div").children(".disp9").css("display", "block");
                this.element9 = true
            }
        },
        Details(index) {
            if (this.open != index) {
                $(".dropdown").children(".Rotating").css("transform", "rotate(0deg)");
                document.getElementsByClassName("Rotating")[index].style.transform = "rotate(180deg)";
                this.open = index
            } else {
                document.getElementsByClassName("Rotating")[index].style.transform = "rotate(0deg)";
                this.open = null
            }
        },
        changepromotion(index) {
            this.promotionnum = index
        },
        JumpAddition(index) {
            this.open = null
            this.Add = index
            let mtop = $(`#nav` + index)[0].offsetTop - 97
            $("html,body").animate({
                scrollTop: mtop
            }, 500);
        },

        watchscroll() {
            $(window).scroll(() => {
                var topp = $(document).scrollTop();
                var heightt = $(".appheader").outerHeight(true) + 3392;
                if (topp >= heightt) {
                    $(".totop").css("display", "block");
                    $(".navigation-box").css("margin-bottom", "150px");
                } else {
                    $(".totop").css("display", "none");
                    $(".navigation-box").css("margin-bottom", "-150px");
                }
                //获取文档滚动高度
                var top = $(document).scrollTop();
                var height = $(".appheader").outerHeight(true);
                if (top >= height) {
                    $(".appheader1").css("display", "none");
                    $(".appheader").css("height", '80')
                    $(".web-serarch").css("top", "50%")
                    $(".web-serarch").css("transform", "translate(-50%,-50%)");
                } else {
                    $(".appheader1").css("display", "block");
                    $(".appheader").css("height", '178')
                    $(".web-serarch").css("top", "71%")
                }
                // $(".advisory-l").each((index, dom) => {
                //     if (top >= $(dom).offset().top - 97) {
                //         this.Add = index;
                //     }
                //     if (top > 3690) {
                //         this.Add = $(".advisory-l").length - 1;
                //     }
                // });
            });
        }
    }

});